/* CDN 服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
    font-family: 'iconfont';
    /* Project id 3649791 */
    src: url('//at.alicdn.com/t/c/font_3649791_87nb4s6f2eu.woff2?t=1663385063793') format('woff2'),
        url('//at.alicdn.com/t/c/font_3649791_87nb4s6f2eu.woff?t=1663385063793') format('woff'),
        url('//at.alicdn.com/t/c/font_3649791_87nb4s6f2eu.ttf?t=1663385063793') format('truetype');
}

body {
    height: 2000px;
    background-color: #F4F4F4;
}

a {
    text-decoration: none;
}

.w {
    width: 1190px;
    margin: 0 auto;
}

.header-box {
    width: 100%;
    height: 30px;
    border-bottom: 1px solid #ddd;
    background-color: #E3E4E5;

    .header {
        height: 100%;
        line-height: 30px;
        font-size: 12px;

        .location-wrap {
            position: relative;
            box-sizing: border-box;
            width: 58px;
            height: 31px;
            float: left;
            color: #999;

            .crn {
                position: absolute;
                z-index: 9999;
                display: block;
                box-sizing: border-box;
                padding: 0 7px;
                width: 100%;
                height: 100%;
                color: #999;
                font-size: 12px;
                border: 1px solid transparent;
                border-bottom: #fff;

                &::before {
                    content: "\e600";
                    display: inline-block;
                    font-family: "iconfont";
                    color: #F10215;
                    font-size: 14px;
                    vertical-align: middle;
                }
            }


            &:hover a {
                background-color: #fff;
                color: red;
                border: 1px solid #ccc;
                border-bottom: #fff;
            }



            .location {
                display: none;
                position: absolute;
                z-index: 999;
                top: 30px;
                left: 0;
                box-sizing: border-box;
                width: 322px;
                height: 464px;
                border: 1px solid #ccc;
                padding: 10px;
                background-color: #fff;
            }

            &:hover .location {
                display: block;
            }
        }

        .nav-info {
            float: right;

            li {

                &:not(.spacer) {
                    padding: 0 7px;
                }

                &.down-arrow {
                    padding-right: 20px;
                    position: relative;

                    &::after {
                        position: absolute;
                        right: 8px;
                        top: 13px;
                        content: "";
                        display: inline-block;
                        width: 3px;
                        height: 3px;
                        border: 1px solid #999;
                        border-top: transparent;
                        border-left: transparent;
                        transform: rotateZ(-45deg)
                    }

                    &:hover::after {
                        transform: rotateZ(45deg)
                    }
                }

                float: left;


                a {
                    color: #999;

                    &.highlight {
                        color: red;
                    }

                    &:hover {
                        color: #e33333;
                    }


                }

                &.spacer {
                    width: 1px;
                    height: 10px;
                    background-color: #ccc;
                    margin: 11px 5px 0px;
                }
            }

        }
    }
}


.search-nav {
    box-sizing: border-box;
    width: 100%;
    height: 141px;
    border-bottom: 1px solid #DDDDDD;
    background-color: #fff;

    .w {
        position: relative;
        height: 100%;

        .logo_tit {
            position: absolute;
            left: 0;
            top: 10px;
            width: 190px;
            height: 120px;
            overflow: hidden;
            font-size: 0;
            background: url(../img/sprite.png);
        }

        .search-m {
            position: relative;
            width: 100%;
            height: 60px;

            .search-warp {
                position: absolute;
                top: 25px;
                left: 260px;
                box-sizing: border-box;
                width: 550px;
                height: 36px;
                border: 2px solid #E2231A;
                background-color: yellowgreen;

                input {
                    box-sizing: border-box;
                    width: 488px;
                    height: 32px;
                    border: none;
                    outline: none;
                    padding: 2px 44px 2px 17px;

                    &::-webkit-input-placeholder {
                        font-size: 12px;
                    }

                }

                .photo {
                    position: absolute;
                    left: 452px;
                    top: 8px;
                    font-family: "iconfont";
                    font-size: 20px;

                    &:hover {
                        color: red;
                        cursor: pointer;
                    }

                }

                .search-button {
                    position: absolute;
                    font-family: "iconfont";
                    top: 0;
                    right: 0;
                    width: 58px;
                    height: 32px;
                    background-color: #E1251B;
                    text-align: center;
                    line-height: 32px;
                    color: #fff;
                    font-weight: bold;
                    font-size: 18px;
                    transition: all .5s;

                    &:hover {
                        background-color: #C81623;
                        cursor: pointer;
                    }
                }
            }

            .shoppingcar {
                position: absolute;
                top: 25px;
                left: 828px;
                width: 132px;
                height: 36px;
                border: 1px solid #EEEEEE;
                text-align: center;
                line-height: 36px;
                color: #e1251b;
                font-size: 12px;
                transition: color .5s;

                i.sc-icon {
                    font-family: "iconfont";
                    vertical-align: bottom;
                    font-size: 16px;
                    font-weight: bold;
                    margin-right: 13px;
                }

                &:hover {
                    color: #C81623;
                    border: 1px solid #C81623;
                    cursor: pointer;
                }

                i.shopping-num {
                    position: absolute;
                    top: 1px;
                    left: 29px;
                    display: inline-block;
                    width: 18px;
                    height: 14px;
                    background-color: #E1251B;
                    border-radius: 7px;
                    font-size: 12px;
                    line-height: 14px;
                    text-align: center;
                    color: #fff;
                }
            }

        }


        .sea-nav {
            position: absolute;
            top: 80px;
            left: 203px;
            padding-top: 20px;
            box-sizing: border-box;
            width: 761px;
            height: 60px;

            li {
                float: left;
                height: 40px;
                line-height: 40px;


                a {
                    font-size: 15px;
                    color: #333;
                    margin: 0 11px;

                    &:hover {
                        color: #C81623;
                    }
                }
            }
        }
    }
}